package com.qmctl.rest.bean.selldeliveryconfirm;
import java.util.List;

import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlElementWrapper;
import javax.xml.bind.annotation.XmlRootElement;

import com.qmctl.rest.entity.SellDeliveryOrderInfo;
@XmlRootElement(name="deliveryOrder")
public class DeliveryOrderClazz{
  public DeliveryOrderClazz(){
  }
  private String deliveryOrderCode;
  private String deliveryOrderId;
  private String warehouseCode;
  private String orderType;
  private String status;
  private String outBizCode;
  private long confirmType;
  private String orderConfirmTime;
  private String operatorCode;
  private String operatorName;
  private String operateTime;
  @XmlElementWrapper(name="invoices")  
  @XmlElement(name="invoice") 
  private List<InvoiceClazz> invoiceLst;
  public String getDeliveryOrderCode(){
    return deliveryOrderCode;
  }
  public void setDeliveryOrderCode(String sDeliveryOrderCode){
    deliveryOrderCode = sDeliveryOrderCode;
  }
  public String getDeliveryOrderId(){
    return deliveryOrderId;
  }
  public void setDeliveryOrderId(String sDeliveryOrderId){
    deliveryOrderId = sDeliveryOrderId;
  }
  public String getWarehouseCode(){
    return warehouseCode;
  }
  public void setWarehouseCode(String sWarehouseCode){
    warehouseCode = sWarehouseCode;
  }
  public String getOrderType(){
    return orderType;
  }
  public void setOrderType(String sOrderType){
    orderType = sOrderType;
  }
  public String getStatus(){
    return status;
  }
  public void setStatus(String sStatus){
    status = sStatus;
  }
  public long getConfirmType(){
    return confirmType;
  }
  public void setConfirmType(long iConfirmType){
    confirmType = iConfirmType;
  }
  public String getOrderConfirmTime(){
    return orderConfirmTime;
  }
  public void setOrderConfirmTime(String sOrderConfirmTime){
    orderConfirmTime = sOrderConfirmTime;
  }
  public String getOperatorCode(){
    return operatorCode;
  }
  public void setOperatorCode(String sOperatorCode){
    operatorCode = sOperatorCode;
  }
  public String getOperatorName(){
    return operatorName;
  }
  public void setOperatorName(String sOperatorName){
    operatorName = sOperatorName;
  }
  public String getOperateTime(){
    return operateTime;
  }
  public void setOperateTime(String sOperateTime){
    operateTime = sOperateTime;
  }

  public void setInvoices(List<InvoiceClazz>  clazzInvoices){
    invoiceLst = clazzInvoices;
  }
  	
  public DeliveryOrderClazz(SellDeliveryOrderInfo beanClazz){
  
    deliveryOrderCode = beanClazz.getDeliveryOrderCode();
    deliveryOrderCode = beanClazz.getDeliveryOrderCode();
    deliveryOrderId = beanClazz.getDeliveryOrderId();
    warehouseCode = beanClazz.getWarehouseCode();
    orderType = beanClazz.getOrderType();
    status = beanClazz.getStatus();
    outBizCode = beanClazz.getOutBizCode();
    confirmType = beanClazz.getConfirmType();
    orderConfirmTime = beanClazz.getOrderConfirmTime();
    operatorCode = beanClazz.getOperatorCode();
    operatorName = beanClazz.getOperatorName();
    operateTime = beanClazz.getOperateTime();
    invoiceLst = null;
  }
  public String getOutBizCode() {
	return outBizCode;
  }
  public void setOutBizCode(String outBizCode) {
	this.outBizCode = outBizCode;
  }
}
